﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL_HealthInsurance;
namespace HealthInsuranceMgm.Admin
{
    public partial class SearchEmp : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnsearch_Click(object sender, EventArgs e)
        {
            BLLEmployee obj = new BLLEmployee();
           // int empno = Int32.Parse(txtempno.Text.ToString());
            string name = txtName.Text;
            string address = txtAddress.Text;
 
            string designation = txtdesignation.Text;

            grvEmp.DataSource = obj.searchEmp( name, address, designation);
            grvEmp.DataBind();
        }
    }
}